package com.shenghui.enterprise.enterprise.front.service;

import com.shenghui.enterprise.vo.Result;

import javax.servlet.http.HttpServletRequest;

/**
 * @Description: 企业基础信息表业务逻辑接口
 * @Author tt
 * @Email: happyxiaohou@gmail.com
 * @Date: 2020-10-13
 * @Copyright (c) 2020-2022 云南昇晖科技有限公司
 */

public interface IFrontLoginService {
    /**
     * 登录方法
     * @param account
     * @param password
     * @return
     */
     Result login(HttpServletRequest request,String account, String password);

    /**
     * 退出登录
     * @param request
     * @return
     */
     Result loginOut(HttpServletRequest request);
}
